﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using daSyntaxAnalyser.SyntaxTree;

namespace CQLQueries.SyntaxTree
{
    public class Relation1Node
    {
        public object NodeTree;
        public object ValueDown;
        public object ValueUp;

        public RelationNode Relation;

        public Relation1Node()
        {            
        }

        public void Visit()
        {
            Relation.NodeTree = NodeTree;
            Relation.Visit();
            ValueUp = (bool)ValueDown || (bool)Relation.ValueUp;
        }
    }
}
